import App from './App'

import uviewPlus from '@/uni_modules/uview-plus'

import { createSSRApp } from 'vue'

import { initRequest } from '@/sheep/request'

import { initPinia } from '@/sheep/store'

export function createApp() {
  const app = createSSRApp(App)
  // 引入请求封装
  initRequest(app)
	
  app.use(initPinia()).use(uviewPlus)
	
  return {
    app
  }
}
